package cn.fzu.label;

import javax.swing.*;

/**
 * ClassName : cn.fzu.label.MineLabel
 * Desc : TODO
 *
 * @author : LINPQ
 * @date : 2021/3/27 17:06
 */
public class MineLabel extends JLabel {
    //坐标
     private int row;
    private int col;
    //是否是雷
    private boolean mine;
    //是否是棋子
    private boolean flag;
    //是否是问号
    private boolean mark;
    //是否展开
    private boolean expand;
    //周围雷数
    private int aroundCounts;

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public int getCol() {
        return col;
    }

    public void setCol(int col) {
        this.col = col;
    }

    public boolean isMine() {
        return mine;
    }

    public void setMine(boolean mine) {
        this.mine = mine;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public boolean isMark() {
        return mark;
    }

    public void setMark(boolean mark) {
        this.mark = mark;
    }

    public boolean isExpand() {
        return expand;
    }

    public void setExpand(boolean expand) {
        this.expand = expand;
    }

    public int getAroundCounts() {
        return aroundCounts;
    }

    public void setAroundCounts(int aroundCounts) {
        this.aroundCounts = aroundCounts;
    }
}
